package conchmusic.conchmusicclient.util;

import android.content.res.Resources;

/**
 * Created by Pan Ke on 2017/4/21.
 */

public class DeleteCommentCommand implements Command {

    private int commentId;
    private Resources resources;

    public DeleteCommentCommand(Resources resources, int commentId) {
        this.commentId = commentId;
        this.resources = resources;
    }

    @Override
    public String execute() {
        return new Executor().deleteComment(resources, commentId);
    }
}
